package com.imooc.bilibili.dao;

import com.imooc.bilibili.domain.Danmu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * ProjectName imooc-bilibili
 *
 * @author xieyucan
 * <br>CreateDate 2022/10/26 13:39
 */
@Mapper
public interface DanMuDao {

    void addDanMu(Danmu danmu);

    List<Danmu> getDanMuList(@Param("params") Map<String, Object> params);
}
